#include <stdio.h>
struct chengji
{
	int yuwen;        // 1 + 3
	int shuxue;        // 4 
	int yingyu;     // 8

};

struct People         //  int
{
	char name[18];   // 18 + 2 
	int	 age;        // 4
	char sex;        // 1 + 3 
	float shouru;    // 4
	char* addr;	     //	4
	struct chengji fenshu;	// 12
};

int main()
{
	int a = 6;
	printf("a == %d\n",a);
	
//	printf("%d\n",sizeof(struct People)) ;
	
//	struct People  stu1 = {"zhangsan",18,'W',8888.88,"shenzhen"};
	struct People  stu1 = {"zhangsan",18,'W',8888.88,"shenzhen",{98,86,91}};
//	
	printf("%-10s",stu1.name);
	printf("%-4d",stu1.age);
	printf("%-4c",stu1.sex);
	printf("%-10.2f",stu1.shouru);
	printf("%-20s\n",stu1.addr);
	
	printf("%d\n",stu1.fenshu.yuwen);
	printf("%d\n",stu1.fenshu.shuxue);
	printf("%d\n",stu1.fenshu.yingyu);
	
	
	
	
	
	return 0;
}

